package com.dingyx.ps.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * @description bank_card
 * @author zhangyang@zencor.cn
 * @date 2021-03-05
 */
@Data
@ApiModel("新增结算卡参数")
public class BankCardAddPO implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 银行卡号
     */
    @NotBlank(message = "银行卡号不能为空")
    @ApiModelProperty("银行卡号")
    private String brandCardNumber;

    /**
     * 银行预留手机号
     */
    @NotBlank(message = "银行预留手机号不能为空")
    @ApiModelProperty("银行预留手机号")
    private String reserveMobile;

    /**
     * 卡类型
     */
    @ApiModelProperty("卡类型（0:储蓄卡）")
    private Integer cardType = 0;

    /**
     * 发卡行
     */
    @NotBlank(message = "发卡行不能为空")
    @ApiModelProperty("发卡行")
    private String issuingBank;

    /**
     * 是否是默认结算卡(0:是 1:否)
     */
    private Integer isDefault = 1;
}

